﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace ProjectRoughWork
{
    class EventMoveActor : BaseEventData
    {
        /// <summary>
        /// 2-Parameter consturctor to initialize the id of the actor to move and the new position
        /// </summary>
        /// <param name="initActorID">The ID of the actor to move</param>
        /// <param name="initPosition">The new position</param>

        public EventMoveActor(int initActorID, Vector3 initPosition)
            : base()
        {
            eventType = "MoveActor";

            actorID = initActorID;
            newPosition = initPosition;
        }

        /// <summary>
        /// The ID of the actor to be moved
        /// </summary>

        public int ActorID
        {
            get { return actorID; }
        }

        /// <summary>
        /// The new position of the actor
        /// </summary>

        public Vector3 NewPosition
        {
            get { return newPosition; }
        }

        //Data Member

        int actorID;                        //The ID of the actor to be moved
        Vector3 newPosition;                //The new position
    }
}
